<?php
/**
 * Created by PhpStorm.
 * User: Raytine
 * Date: 2018/8/30
 * Time: 10:05
 */
namespace PddWechat\Models\User\Data;

use PddWechat\Models\User\Dao\UserMoneyRecordDao;
use PddWechat\Models\User\DataObject\UserMoneyRecordDo;

class UserMoneyRecordData
{
    public function __construct()
    {
        $this->userMoneyRecordDao = new UserMoneyRecordDao();
    }

    public function insert(UserMoneyRecordDo $userMoneyRecord) {
        return $this->userMoneyRecordDao->insert($userMoneyRecord);
    }
}